﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Front/Front.Master" AutoEventWireup="true" CodeBehind="Dangky.aspx.cs" Inherits="WEBSITE_BANDEAL.Front.Dangky" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
 <div id="content">                 
    <div class="margin">
        <div class="content-helper clear"> 
            <div id="content_general"><h2>Đăng ký</h2> </div>
            <p class="mandatory-fields">Thông tin có <span class="required">*</span> là bắt buộc nhập, cần phải nhập.</p>
              <form id="form1" runat="server">
                  <div class="subheaders-group">
                  <h2 class="subheader">Thông tin tài khoản</h2>
                  <div class="form-field">
                    <label for="email" class="cm-required cm-email cm-trim">Email:</label>
                    <div class="input-prepend">
                    <span class="add-on"><i class="icon-envelope"></i></span>                   
                        <asp:TextBox ID="Email" name="user_data[email]" size="32" maxlength="128" value="" class="input-text" runat="server"></asp:TextBox></div>
                   <asp:RequiredFieldValidator ID="RequiredFieldValidatormail" runat="server" ErrorMessage="Vui lòng nhập Email" ControlToValidate="Email" Display="Dynamic" ForeColor="Red"></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ErrorMessage="Email không hợp lệ" ControlToValidate="Email" Visible="True" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" ForeColor="Red"></asp:RegularExpressionValidator>   
                  </div>
                      

                  <div class="form-field">
                    <label for="password1" class="cm-required cm-password">Mật khẩu:</label>
                    <div class="input-prepend">
                    <span class="add-on"><i class="icon-lock"></i></span>
                    <%--<input type="password" id="password1" name="user_data[password1]" size="32" maxlength="32" value="" class="input-text cm-autocomplete-off" />--%>
                    <asp:TextBox ID="Matkhau" name="user_data[password1]" size="32" maxlength="128" value="" class="input-text cm-autocomplete-off" runat="server" TextMode="Password"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="Vui lòng nhập mật khẩu" ControlToValidate="Matkhau" ForeColor="Red"></asp:RequiredFieldValidator> 

                    </div>
                    </div>


                  <div class="form-field">
                    <label for="password2" class="cm-required cm-password">Nhập lại mật khẩu:</label>
                    <div class="input-prepend">
                    <span class="add-on"><i class="icon-lock"></i></span>
                    <%--<input type="password" id="password2" name="user_data[password2]" size="32" maxlength="32" value="" class="input-text cm-autocomplete-off" />--%>
                        <asp:TextBox runat="server" id="password2" name="user_data[password2]" size="32" maxlength="32" value="" class="input-text cm-autocomplete-off" TextMode="Password"></asp:TextBox>
                        <asp:CompareValidator ID="CompareValidator1" runat="server" ErrorMessage="Mật khẩu không trùng" ControlToCompare="password2" ControlToValidate="Matkhau" ForeColor="Red"></asp:CompareValidator>
                         </div>
                    </div>

                  <div class="form-field">
                    <label for="Hoten" class="cm-profile-field cm-required ">Họ tên:</label>
                    <%--<input type="text" id="Hoten" name="user_data[s_firstname]" size="32" value="" class="input-text cm-skip-avail-switch"  onblur="clear_space('Hoten');"  />--%>  
                      <asp:TextBox runat="server" id="Hoten" name="user_data[s_firstname]" size="32" value="" class="input-text cm-skip-avail-switch"  onblur="clear_space('Hoten');"></asp:TextBox>
                      <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="Vui lòng nhập tên" ControlToValidate="Hoten" ForeColor="Red"></asp:RequiredFieldValidator>
                  </div>

                  <div class="form-field">
                    <label for="Dienthoai" class="cm-profile-field  ">Điện thoại:</label>
                    <%--<input type="text" id="Dienthoai" name="user_data[s_phone]" size="32" value="" class="input-text cm-skip-avail-switch"  onblur="clear_space('Dienthoai');"  />--%>  
                      <asp:TextBox id="Dienthoai" name="user_data[s_phone]" size="32" value="" class="input-text cm-skip-avail-switch"  onblur="clear_space('Dienthoai');" runat="server"></asp:TextBox>
                  </div>

                  <div class="form-field">
                    <label for="elm_25" class="cm-profile-field  cm-state cm-location-shipping">Tỉnh/Thành phố:</label>
                      <asp:DropDownList ID="TINH_TP" runat="server"></asp:DropDownList>
                    <input type="text" id="elm_25_d" name="user_data[s_state]" size="32" maxlength="64" value="" disabled="disabled" class="input-text hidden cm-skip-avail-switch" />
                    <input type="hidden" id="elm_25_default" value="437" />
                    </div>

                   <div class="form-field">
                    <label for="Diachi" class="cm-profile-field cm-required ">Địa chỉ:</label>
                    <%--<input type="text" id="Diachi" name="user_data[s_firstname]" size="32" value="" class="input-text cm-skip-avail-switch"  onblur="clear_space('Diachi');"  />--%>  
                       <asp:TextBox id="Diachi" name="user_data[s_firstname]" size="32" value="" class="input-text cm-skip-avail-switch"  onblur="clear_space('Diachi');" runat="server"></asp:TextBox>
                   <%--<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="Vui lòng nhập địa chỉ" ControlToValidate="Diachi" ForeColor="Red"></asp:RequiredFieldValidator>--%>
                       <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="Diachi" ErrorMessage="Vui lòng nhập địa chỉ" ForeColor="Red"></asp:RequiredFieldValidator>
                   </div>                  
                    

                  <div class="buttons-container center">
                   <%-- <span class="button-submit">--%><asp:Button ID="Button1" runat="server" Text="Đăng ký" OnClick="Button1_Click" /><%--</span>--%></div>
                      </div>

              </form>
         <%--   <div class="central-column">        
                <div class="central-content">
                    <div class="cm-notification-container"></div>
                        <div class="mainbox-container">
                        <div class="mainbox-body">
                            <div id="content_general">
                                   <h1>Đăng ký</h1>

                            </div>
                        </div>
                    </div>
                    </div>
            </div>--%>
        </div>
    </div>
 </div>
 

</asp:Content>

